﻿using BCCommon.Extensions;
using BCCommon.TMS.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.VehicleBusinessMapping
{
    /// <summary>
    /// 车辆与业务关系视图
    /// </summary>
    public class VehicleBusinessMappingViewDto:VehicleBusinessMappingDto
    {
        /// <summary>
        /// 车型图片路径
        /// </summary>
        public string VehiclePicPath { get; set; }
        /// <summary>
        /// 适用业务类型
        /// </summary>
        public DriverRoleType AppliedTo { get; set; }

        /// <summary>
        /// 适用业务类型
        /// </summary>
        public string AppliedToStr { get { return this.AppliedTo.GetDescriptionString(); } }

        /// <summary>
        /// 车辆长度
        /// </summary>
        public decimal VehicleLength { get; set; }

        /// <summary>
        /// 车辆宽度
        /// </summary>
        public decimal VehicleWidth { get; set; }

        /// <summary>
        /// 车辆高度
        /// </summary>
        public decimal VehicleHeight { get; set; }

        /// <summary>
        /// 最大载重
        /// </summary>
        public int MaxWeight { get; set; }

        /// <summary>
        /// 最大载货立方
        /// </summary>
        public decimal MaxStere { get; set; }

    }
}
